<div style='float:right'>
  <a href="#" onclick="jQuery('#show_rooms').hide('fold')">[隐藏这个表格]</a>
</div>
<table id="room_list" class="data" width="70%">
  <thead>
    <tr>
      <th class="name first" colspan="2">
      </th>
      <th>
        <div class="dividers">
          房间类型
        </div>
      </th>
      <th>
        <div class="dividers">
          房间号
        </div>
      </th>
      <th>
        <div class="dividers">
          电话号码
        </div>
      </th>
      <th>
        <div class="dividers">
          住宿人员
        </div>
      </th>
      <th class="block_status last" colspan="2">操作</th>
    </tr>
  </thead>
  <tbody>
    <%rooms.each do |room|%>
     <%=render :partial=>'rooms/room_item',:locals=>{:room=>room}%>
     <tr id="edit_place_<%=room.id%>"/>
    <%end%>
  </tbody>
</table>
<br/>
<div style="float:right">
    <%= will_paginate @rooms,
      #:renderer => 'RemoteLinkRenderer',
      :inner_window => 1,
      :outer_window => 1,
      :prev_label => '上一页',
      :next_label => '下一页'
    %>
</div>
<br/>
<br/>